<div id="content">
    <?php
    $IdCategorie = $_GET['id'];
    $oPDO = new PdoCategorie();

    $categorie = $oPDO->readOne($IdCategorie);


    echo "<form id='formulaire' action='index.php?route=categorie&action=traitement_modif' method='post'>";

    echo "<label>Catégorie</label>";
    echo "<input type='text' name='nom' value='" . $categorie->getNomCategorie() . "' /><br />";

    echo "<input type='hidden' name='id' value='" . $categorie->getIdCategorie() . "' />";
    echo "<input type='submit'  value='Valider'>";

    echo "</form>";

    ?></div>